I always get messed up with that as well. I guess it's just a habit carried over from my BASIC days.
I always get messed up with that as well. I guess it's just a habit carried over from my BASIC days.
You forgot the ! (NOT) operator. It is usually used to make a boolean value the opposite of what it actually is for a conditional. the .* and ->* are just saying -> then "value pointed by" or . and " ".
Child who knows C++Using Borland C/C++ Compiler 5.5 (Command Line Version)
Learn something new every day... I guess I'll have to look up how to overload those operators sometime. I'd always assumed it was just another way of saying overloading ->.Code:int Func::*pm = &Func::code; // this is legal, believe it or not void (Func::*pf)(int) = &Func::foo; //this is legal too!
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.